package com.it.bean;
public class Orders {
    private String oname;
    public Orders() {
        System.out.println("第一步执行无参构造");
    }
    public void setOname(String oname){
        this.oname = oname;
        System.out.println("第二步，调用set方法设置属性值");
    }
    public void  init(){
        System.out.println("第三步，初始化方法");
    }
    public void destroy(){
        System.out.println("第五步：销毁bean实例");
    }
}
